﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NCP.Infrastructure.Common.Specification;

namespace NCP.Recruiting.Domain.Aggregates.Tags {
    public static class TagSpecifications {
        public static Specification<Tag> GetTagsByCompanyId(Guid id) {
            return new DirectSpecification<Tag>(t => t.CompanyId.Equals(id) &&  !t.Deleted);
        }
    }
}
